/*
 *  ImageSegment.cpp
 *  openFrameworks
 *
 *  Created by fregment on 01.06.09.
 *  Copyright 2009 __MyCompanyName__. All rights reserved.
 *
 */

#include "ImageSegment.h"



namespace abliefern {
	
	
	ImageSegment::ImageSegment(std::string theFilename){
		
		filename = theFilename;
		
		borderPercentage = 0;
	}	
	
	
	ImageSegment::ImageSegment(std::string theFilename, float theX, float theY, int theWidth, int theHeight){
		
		filename=theFilename;
		x = theX; // top left to vanishing point in pixlas
		y = theY; // top left to vanishing point in pixlas
		width = theWidth;
		height = theHeight;
		
		borderPercentage = 0;
		
		
	}
	
	
	ImageSegment::ImageSegment(std::string theFilename,float theX,float theY){
		
		filename=theFilename;
		x = theX; // top left to vanishing point in pixlas
		y = theY; // top left to vanishing point in pixlas
	
		borderPercentage = 0;
		
		
	}
	
}